#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int a; 
	scanf("%d", &a); 
	printf((a % 4 == 0 && a % 100 != 0) || a % 400 == 0 ? "yes" : "no");
	return 0;
}